package org.example.maven.museumuser.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.toolkit.Db;
import org.example.maven.museumuser.domain.entity.Action;
import org.example.maven.museumuser.domain.entity.ActionTicket;
import org.example.maven.museumuser.domain.pojo.action.ActionDetails;
import org.example.maven.museumuser.domain.pojo.action.ActionList;
import org.example.maven.museumuser.mapper.ActionMapper;
import org.example.maven.museumuser.service.IActionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zafkiel
 * @since 2025-06-21
 */
@Service
public class ActionServiceImpl extends ServiceImpl<ActionMapper, Action> implements IActionService {

    @Override
    public List<ActionList> getaAllActionlist() {
        return baseMapper.getAllActionList();
    }

    @Override
    public ActionDetails getActionDetailsById(Integer id) {
        return baseMapper.getActionDetailsById(id);
    }
}
